#!/usr/bin/make -f
DEB_PYTHON_SYSTEM=pycentral

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

clean::
	find -type d | grep build$ | xargs $(RM) -r

python-build-stamp-%:
	(cd gui; python$* setup.py build)
	(cd modules; python$* setup.py build)
	touch $@

python-install-py:
	(cd gui; python$* setup.py install --root $(CURDIR)/debian/gastables)
	(cd modules; python$* setup.py install --root $(CURDIR)/debian/python-gastables)
	touch $@

get-orig-source:
	-uscan --upstream-version 0 --rename
